package top.mcwebsite.playandroid.common.user.impl.api

import retrofit2.http.GET
import top.mcwebsite.playandroid.common.network.model.RespModel
import top.mcwebsite.playandroid.common.user.api.model.UserData
import top.mcwebsite.playandroid.common.user.api.model.UserInfo

interface UserApi {

    @GET("user/lg/userinfo/json")
    suspend fun getUserData(): RespModel<UserData>

    @GET("user/logout/json")
    suspend fun logout()
}